import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './style/index.scss'
import './assets/font/dsfont.css'
import dayjs from 'dayjs'
import axios from 'axios'
import 'lib-flexible/flexible'
import * as echarts from 'echarts'
import '@/utils/directives.js';
import 'element-ui/lib/theme-chalk/index.css';
import utils from '../src/utils/index'
import { Button,Message,Dialog,Empty, Input, Select,
  Option, Form,FormItem, Image,} from 'element-ui';
import { borderBox8 } from '@jiaminghi/data-view'
import {baseUrl} from './utils/baseUrl'
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'grsuHSzvVRVbmNcLs7XbxtCOUsIfHE0e'
})

Vue.use(borderBox8)
Vue.config.productionTip = false
Vue.use(Button).use(Dialog).use(Empty).use( Input).use(Select).use(Option).use(Form).use(FormItem).use(Image)
Vue.prototype.$echarts = echarts
Vue.prototype.$message = Message
Vue.prototype.$dayjs = dayjs
Vue.prototype.$utils = utils
Vue.prototype.$axios = axios
Vue.prototype.baseUrl = baseUrl
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
